package com.asset.mapper;

import com.asset.model.entity.DepDetail;
import com.asset.model.entity.DepreciationDetail;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface DepreciationMapper {

    //获取记录信息中资产累计折旧金额最高的折旧明细
    List<DepDetail> getMaxCumulativeDepreciation();

    //找到资产上次自动折旧后的累计折旧信息
    DepreciationDetail getNewDetail(@Param("maxDep") DepDetail maxDep);

    //

}
